package com.t2t.top.proxy;

public class TestProxy {

    /**
     * @param args
     */
    public static void main(String[] args) {
        FacadeProxy proxy = new FacadeProxy();
        BookFacade bookProxy = (BookFacade) proxy.newProxyInstance(new BookFacadeImpl());
        bookProxy.addBook();
        System.out.println();
        bookProxy.deleteBook();
    }
}